package com.briup.day15;

/**
 * @author lining
 * @date 2024/1/25 10:00
 */
public class TestPoint {
    public static void main(String[] args) {
        //1.创建泛型类对象
        Point<Double> p = new Point<>(1.0, 3.2);
        Point<String> p2 = new Point<>("第五行", "第三列");
        new Point<>(1, 2);
        //2.创建对象

        Point2<Double, Integer> p3 = new Point2<>(1.1, 30);
        Point2<String, Integer> p4 = new Point2<>("第1行", 30);
    }
}
